package org.luxor.commons.redis.event;


import java.util.Date;

/**
 * @author Mr.yan @date 2019/10/12
 */
public class UserChangeEvent {

    private String username;

    private Date createTime;

    public UserChangeEvent() {
    }

    public UserChangeEvent(String username, Date createTime) {
        this.username = username;
        this.createTime = createTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "UserChangeEvent{" +
                "username='" + username + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
